<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>连载动漫 第1页-动漫下载 - 红旅动漫</title>
		<meta name="mobile-agent" content="format=html5;url=http://m.hltm.cc/list/7.html" />
		<meta name="keywords" content="连载动漫 第1页-动漫下载 - 红旅动漫">
	<meta name="description" content="连载动漫 第1页-动漫下载 - 红旅动漫">
	<meta name="renderer" content="webkit">
	<link href="${request.contextPath }/anime-web/statics/tp/css/layout.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="${request.contextPath }/anime-web/statics/tp/js/jquery.js"></script>
	<script type="text/javascript" src="${request.contextPath }/anime-web/statics/tp/js/public.js"></script>
	<base target="_blank" />
	<script type="text/javascript">
		$(function(){
			$('#index').attr("class","");
			$('#serial').attr("class","this");
			$('#finish').attr("class","");
			
			/* $('.taglink').click(function(){
				var action = $('.taglink').attr("href");
				var sort = $('.paixu_box .this').attr("name");
				var word = $('.this .alphabete').attr("name");
				var tag = $(this).html();
				if(tag == '全部') tag = "";
				$('#selectform').attr("action",action);
				$('#sort').val(sort);
				$('#word').val(word);
				$('#tag').val(tag);
				$('#selectform').submit();
				return false;
			});
			
			$('.alphabete').click(function(){
				var action = $('.alphabete').attr("href");
				var sort = $('.paixu_box .this').attr("name");
				var word = $(this).attr("name");
				var tag = $('.this .taglink').val();
				if(tag == '全部') tag = "";
				$('#selectform').attr("action",action);
				$('#sort').val(sort);
				$('#word').val(word);
				$('#tag').val(tag);
				$('#selectform').submit();
				return false;
			}); */
		});
	</script>
</head>
<body>
	<jsp:include page="public.jsp"/>
	<link href="${request.contextPath }/anime-web/statics/tp/css/list.css" rel="stylesheet" type="text/css" />
	<form id="selectform" method="POST" target="_self">
		<input type="hidden" id="sort" name="sort" />
		<input type="hidden" id="tag" name="tag" />
		<input type="hidden" id="word" name="word" />
	</form>
	<div class="content">
		<div class="warp">
			<div class="select l mb10">
				<strong>
					<a target="_self" href="${request.contextPath }/anime-web/index">首页</a> > <a target="_self" href="${request.contextPath }/anime-web/serial/new/1">连载动漫</a> > 列表
				</strong>
				<div class="mb10 mt10 l">
					<dl>
						<dt>标签</dt>
						<dd class="this">
							<a target="_self" href="${request.contextPath }/anime-web/select/serial/${sort}/全部/0/1" name="">全部</a>
						</dd>
						<c:forEach items="${allTags }" var="tag" varStatus="status">
							<c:if test="${status.index==16 }">
								<br><dd style="margin-left: 91px;margin-top: 10px;">
									<a class="taglink" target="_self" href="${request.contextPath }/anime-web/select/serial/${sort}/${tag.name }/0/1" name="${tag.id }">${tag.name }</a>
								</dd>
							</c:if>
							<c:if test="${status.index>16 }">
								<dd style="margin-top: 10px;width: 38px;" > 
									<a class="taglink" target="_self" href="${request.contextPath }/anime-web/select/serial/${sort}/${tag.name }/0/1" name="${tag.id }">${tag.name }</a>
								</dd>
							</c:if>
							<c:if test="${status.index<16 }">
								<dd>
									<a class="taglink" target="_self" href="${request.contextPath }/anime-web/select/serial/${sort}/${tag.name }/0/1" name="${tag.id }">${tag.name }</a>
								</dd>
							</c:if>
						</c:forEach>
					</dl>
					<dl>
						<dt>字母</dt>
						<dd class="this">
							<a class="alphabete" target="_self" href="${request.contextPath }/anime-web/select/serial/${sort}/全部/0/1" name="0">全部</a>
						</dd>
						<c:forEach items="${allClassify }" var="classify">
							<dd>
								<a class="alphabete" target="_self" href="${request.contextPath }/anime-web/select/serial/${sort }/全部/${classify.id }/1" name="${classify.id }">${classify.name }</a>
							</dd>
						</c:forEach>
					</dl>
				</div>
			</div>
		</div>
		<div class="warp">
			<div class="w720 l">
				<div class="paixu_box">
					<span>排序方式：</span>
					<c:choose>
						<c:when test="${sort=='new' }">
							<a href="javascript:;" class="this" name="new" target="_self">最新更新</a> 
							<a href="${request.contextPath }/anime-web/serial/hot/1" target="_self">热门播放</a>
						</c:when>
						<c:otherwise>
							<a href="${request.contextPath }/anime-web/serial/new/1" target="_self">最新更新</a> 
							<a href="javascript:;" class="this" name="hot" target="_self">热门播放</a>
						</c:otherwise>
					</c:choose>
				</div>
				<div class="box02 l" style="border-top: none;">
					<!-- 页码 -->
					<div class="pages">
						<a target="_self" class="a1">${AnimeByFilter.totalRecords }条</a> 
						<a target="_self" href="${request.contextPath }/anime-web/serial/${sort }/${AnimeByFilter.currentPage-1<1?1:AnimeByFilter.currentPage-1}" class="a1">上一页</a> 
						<c:forEach begin="${AnimeByFilter.beginPageNum }" end="${AnimeByFilter.endPageNum }" var="pagenum">
							<c:choose>
								<c:when test="${pagenum == AnimeByFilter.currentPage }">
									<span>${AnimeByFilter.currentPage }</span> 
								</c:when>
								<c:otherwise>
									<a target="_self" href="${request.contextPath }/anime-web/serial/${sort }/${pagenum }">${pagenum }</a>
								</c:otherwise>
							</c:choose>
						</c:forEach>
						<a target="_self" href="${request.contextPath }/anime-web/serial/${sort }/${AnimeByFilter.currentPage+1>AnimeByFilter.totalPage?AnimeByFilter.totalPage:AnimeByFilter.currentPage+1}" class="a1">下一页</a>
						
						<select onchange="location.href=this.options[this.selectedIndex].value;" style="width: 70px" name="sldd">
							<c:forEach begin="1" end="${AnimeByFilter.totalPage }" var="pagenum">
								<c:choose>
									<c:when test="${pagenum==AnimeByFilter.currentPage }">
										<option selected="selected" value="${request.contextPath }/anime-web/serial/${sort }/${pagenum }">${pagenum }</option>
									</c:when>
									<c:otherwise>
										<option value="${request.contextPath }/anime-web/serial/${sort }/${pagenum }">${pagenum }</option>
									</c:otherwise>
								</c:choose>
							</c:forEach>
						</select>
					</div>
					<ul class="plist02 clearfix">
						<c:forEach items="${AnimeByFilter.resultList }" var="anime">
							<li>
								<a href="${request.contextPath }/anime-web/detail/${anime.id }"> 
									<img src=${anime.shortpic }>
									<span>${anime.status }</span>
									<p>${anime.name }</p> 
									<em class="red"><fmt:formatDate value="${anime.updatedate }" pattern="MM-dd"/> 更新 </em>
									<em>${anime.downcount }</em>
								</a>
							</li>
						</c:forEach>
					</ul>
					<div class="pages">
						<!-- 页码 -->
						<a target="_self" class="a1">${AnimeByFilter.totalRecords }条</a> 
						<a target="_self" href="${request.contextPath }/anime-web/serial/${sort }/${AnimeByFilter.currentPage-1<1?1:AnimeByFilter.currentPage-1}" class="a1">上一页</a> 
						<c:forEach begin="${AnimeByFilter.beginPageNum }" end="${AnimeByFilter.endPageNum }" var="pagenum">
							<c:choose>
								<c:when test="${pagenum == AnimeByFilter.currentPage }">
									<span>${AnimeByFilter.currentPage }</span> 
								</c:when>
								<c:otherwise>
									<a target="_self" href="${request.contextPath }/anime-web/serial/${sort }/${pagenum }">${pagenum }</a>
								</c:otherwise>
							</c:choose>
						</c:forEach>
						<a target="_self" href="${request.contextPath }/anime-web/serial/${sort }/${AnimeByFilter.currentPage+1>AnimeByFilter.totalPage?AnimeByFilter.totalPage:AnimeByFilter.currentPage+1}" class="a1">下一页</a>
						
						<select onchange="location.href=this.options[this.selectedIndex].value;" style="width: 70px" name="sldd">
							<c:forEach begin="1" end="${AnimeByFilter.totalPage }" var="pagenum">
								<c:choose>
									<c:when test="${pagenum==AnimeByFilter.currentPage }">
										<option selected="selected" value="${request.contextPath }/anime-web/serial/${sort }/${pagenum }">${pagenum }</option>
									</c:when>
									<c:otherwise>
										<option value="${request.contextPath }/anime-web/serial/${sort }/${pagenum }">${pagenum }</option>
									</c:otherwise>
								</c:choose>
							</c:forEach>
						</select>
					</div>
				</div>
			</div>
			<div class="w260 r">
				<div class="box01 l">
					<div class="hd b2red phItem" id="tabph">
						<h2>动漫排行</h2>
						<ul>
							<li class="current"><a onmousemove="secBoard('tabph','tabphcon',1);">总榜</a></li>
							<li class="normal"><a onmousemove="secBoard('tabph','tabphcon',2);">本周</a></li>
							<li class="normal"><a onmousemove="secBoard('tabph','tabphcon',3);">本月</a></li>
						</ul>
					</div>
					<div class="tabphcon">
						<div class="current" id="tabphcon_1">
							<ul class="c_ph">
								<c:forEach items="${animeRankAllList }" var="anime" varStatus="status">
									<li>
										<c:choose>
											<c:when test="${status.count>3 }">
												<em>${status.count }</em>
											</c:when>
											<c:otherwise>
												<em class="top">${status.count }</em> 
											</c:otherwise>
										</c:choose>
										<span>${anime.downcount }</span> 
										<a href="${request.contextPath }/anime-web/detail/${anime.id }">${anime.name }</a>
									</li>
								</c:forEach>
							</ul>
						</div>
						<div class="normal" id="tabphcon_2">
							<ul class="c_ph">
								<c:forEach items="${animeRankOfWeekList }" var="anime" varStatus="status">
									<li>
										<c:choose>
											<c:when test="${status.count>3 }">
												<em>${status.count }</em>
											</c:when>
											<c:otherwise>
												<em class="top">${status.count }</em> 
											</c:otherwise>
										</c:choose>
										<span>${anime.downcount }</span> 
										<a href="${request.contextPath }/anime-web/detail/${anime.id }">${anime.name }</a>
									</li>
								</c:forEach>
							</ul>
						</div>
						<div class="normal" id="tabphcon_3">
							<ul class="c_ph">
								<c:forEach items="${animeRankOfMonthList }" var="anime" varStatus="status">
									<li>
										<c:choose>
											<c:when test="${status.count>3 }">
												<em>${status.count }</em>
											</c:when>
											<c:otherwise>
												<em class="top">${status.count }</em> 
											</c:otherwise>
										</c:choose>
										<span>${anime.downcount }</span> 
										<a href="${request.contextPath }/anime-web/detail/${anime.id }">${anime.name }</a>
									</li>
								</c:forEach>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<%-- <div class="footer">
		<div class="warp">
			﻿
			<div class="footerHots" style="width: 581px;">
				<a title="红旅动漫网" href="http://www.hltm.cc/"> <strong>红旅动漫网</strong></a>
				<a title="海贼王下载" href="http://www.hltm.cc/view/972.html">海贼王下载</a> 
				<a title="火影忍者下载" href="http://www.hltm.cc/view/1018.html">火影忍者下载</a>
				<a title="歌之王子殿下第三季" href="http://www.hltm.cc/view/12143.html">歌之王子殿下第三季</a>
				<a title="飙速宅男第二季" href="http://www.hltm.cc/view/12013.html">飙速宅男第二季</a>
				<a title="对学生会长的忠告" href="http://www.hltm.cc/view/1067.html">对学生会长的忠告</a>
			</div>
			<div class="copyright">
				本站的 
				<a href="http://www.hltm.cc/"><strong>日本动漫</strong></a> 
				由网络第三方视频类网站收集，本站不存在任何视频文件及视频镜像。如视频原作者不愿意在本网站刊登或违规
				<br>
				请及时联系：hltm@foxmail.com，予以删除。
				<br> 
				&copy; 2011-2014. All Rights Reserved 苏ICP备11029620号-2 
				<script src="http://s4.cnzz.com/stat.php?id=2311674&web_id=2311674" language="JavaScript"></script> 
				<script src="${request.contextPath }/anime-web/gg/tj2.js"></script>
				<script src="${request.contextPath }/anime-web/gg/tj.js"></script>
			</div>
			<a id="returnTop" href="javascript:;">回到顶部</a>
			<script src="${request.contextPath }/anime-web/statics/tp/js/top.js" type="text/javascript"></script>
		</div>
	</div> --%>
</body>
</html>